package com.ziyan.service;

import com.hmall.common.dto.PageDTO;
import com.hmall.common.pojo.Item;
import com.ziyan.pojo.ItemDoc;
import com.ziyan.pojo.RequestParam;

import java.io.IOException;
import java.util.List;
import java.util.Map;

public interface SearchService {

    Map<String, List<String>> filters(RequestParam requestPram);

    PageDTO<ItemDoc> list(RequestParam params);

    void deleteById(Long id);

    void insertById(Item item);
}
